package com.earthea.scaffold.common.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * Entity基类
 */
@Setter
@Getter
public class BaseInsertableEntity extends BaseEntity {

    /**
     * 创建者
     */
    @ExcelIgnore
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    /**
     * 创建者
     */
    @ExcelIgnore
    @TableField(exist = false)
    private String createUser;

    /**
     * 创建时间
     */
    @ExcelIgnore
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
}
